package com.dayouzi.crawler_monitor.pojo.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.HashMap;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CrawlerDataQuery", description="爬虫数据List查询字段")
public class CrawlerDataListQuery {
    
    @ApiModelProperty(value = "页码")
    private Integer page;
    
    @ApiModelProperty(value = "每页展示数")
    private Integer limit;
    
    @ApiModelProperty(value = "表名称")
    private String tableName;

    @ApiModelProperty(value = "来源")
    private String author;

    @ApiModelProperty(value = "发布时间-开始时间")
    private String pubtimeStart;

    @ApiModelProperty(value = "发布时间-结束时间")
    private String pubtimeEnd;

    @ApiModelProperty(value = "入库时间-开始时间")
    private String addTimeStart;

    @ApiModelProperty(value = "入库时间-结束时间")
    private String addTimeEnd;

    @ApiModelProperty(value = "排序字段(单列排序用)")
    private HashMap orderBys;
    
    

}
